#{extends 'mastercontent.html'/}
#{list items:listContentModels, as:'content'}
<div id="post-41" class="box post">
        <div class="content">
        	#{if content.path}
	            <div class="pic"><a href="/showPicture/${content?.path}" rel="bookmark"><img alt="Post Pic" src="/showPicture/${content?.path}"></a></div>
            #{/if}
          <div class="post-title">
            <h2>${content.title.capAll()}</h2>
          </div>
          <!--/post-title -->
          <div class="post-excerpt">
          	#{if content.description.length() > 400}
	            <p>#{verbatim}${content.description.substring(0,400)}#{/verbatim}</p>
            #{/if}
            #{else}
            	<p>#{verbatim}${content.description}#{/verbatim}</p>
            #{/else}
            <p><a href="/xem-bai-viet/${content.id}/${content.alias}">read more</a></p>
          </div>
          <!--/post-excerpt -->
          <div class="bg"></div>
           #{if content.invisible}
				<div class="post-date"> ${content.date.format('dd/MM/yyyy HH:mm')}, <a rel="category tag" title="View all posts in Tutorials" href="#">Bài Viết Này </a> Được Gởi Bởi <a title="Posts by Maximus" href="#">${content.user}</a> </div>
		   #{/if}
		   #{else}
				<div class="post-date">Bài Viết Này Được Gởi Ngày: ${content.date.format('dd/MM/yyyy HH:mm')}</div>
		   #{/else}
		  <div class="post-commets">
			<a class="font-sm" href="/xem-bai-viet/${content.id}/${content.alias}#disqus_thread" data-disqus-identifier="${content.id}"></a>
		  </div>
          <!--/post-commets -->
          <div class="bg"></div>
          <!--/post-date -->
        </div>
        <!--/content -->
</div>
#{/list}